package com.ytkj.digitalConstruction.dao.constructionplan;

import org.apache.ibatis.annotations.Mapper;

import com.ytkj.digitalConstruction.entity.constructionplan.ConstructionPlan;
import com.ytkj.digitalConstruction.httpbean.constructionprocess.resbean.WholeFlowInfo;

/**
 * 不停航施工Mapper
 * @author iking
 *
 */
@Mapper
public interface ConstructionPlanMapper {
    int deleteByPrimaryKey(Integer planId);

    int insert(ConstructionPlan record);

    int insertSelective(ConstructionPlan record);

    ConstructionPlan selectByPrimaryKey(Integer planId);

    int updateByPrimaryKeySelective(ConstructionPlan record);

    int updateByPrimaryKey(ConstructionPlan record);
    
    WholeFlowInfo selectByFlowId(Integer flowId);
    
    int updateByFlowIdSelective(ConstructionPlan record);
    
    int deletePlanRelevant(Integer flowId);
    
    ConstructionPlan selectPlanByFlowId(Integer flowId);
    
}